#include "Date.h"
using namespace std;

void test1()
{
	Date a;
	Date b(2024, 1, 1);
	Date c = b;
	cout << a << endl;
	cout << b << endl;
	cout << c << endl;


	Date d;
	cin >> d;
	cout << d << endl;
}

void test2()
{
	Date a(2024, 5, 12);
	Date b(2023, 9, 13);
	Date c = { 2024,3,14 };
	
	cout << (a > b) << endl;
	cout << (a > c) << endl;
}

void test3()
{
	Date a(2024, 5, 12);
	cout << a << endl;

	a += 10000;
	cout << a << endl;

	cout << (a - 10000) << endl;

	cout << ((a + 10000) - a) << endl;
}

int main()
{
	test1();
	test2();
	test3();

	return 0;
}